package com.lenovo.smarttraffic.bean;

import android.app.Activity;
import android.widget.TextView;

import com.github.mikephil.charting.charts.LineChart;
import com.github.mikephil.charting.components.XAxis;
import com.lenovo.smarttraffic.InitApp;

import org.litepal.LitePal;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Caleb.F
 * on 2019-12-11
 * at 15:53
 */
public class MetroCalBean {
    private List<String> mCommomList;
    private List<TransForSite> mTransForSitelist;
    private String allSiteAccount;
    private String allPriceAccount;

    @Override
    public String toString() {
        return "MetroCalBean{" +
                "mCommomList=" + mCommomList +
                ", mTransForSitelist=" + mTransForSitelist +
                ", allSiteAccount='" + allSiteAccount + '\'' +
                ", allPriceAccount='" + allPriceAccount + '\'' +
                '}';
    }

    public MetroCalBean(List<String> commomList, List<TransForSite> transForSitelist, String allSiteAccount, String allPriceAccount) {
        mCommomList = commomList;
        mTransForSitelist = transForSitelist;
        this.allSiteAccount = allSiteAccount;
        this.allPriceAccount = allPriceAccount;


    }

    public List<String> getCommomList() {
        return mCommomList;
    }

    public MetroCalBean setCommomList(List<String> commomList) {
        mCommomList = commomList;
        return this;
    }

    public List<TransForSite> getTransForSitelist() {
        return mTransForSitelist;
    }

    public MetroCalBean setTransForSitelist(List<TransForSite> transForSitelist) {
        mTransForSitelist = transForSitelist;
        return this;
    }

    public String getAllSiteAccount() {
        return allSiteAccount;
    }

    public MetroCalBean setAllSiteAccount(String allSiteAccount) {
        this.allSiteAccount = allSiteAccount;
        return this;
    }

    public String getAllPriceAccount() {
        return allPriceAccount;
    }

    public MetroCalBean setAllPriceAccount(String allPriceAccount) {
        this.allPriceAccount = allPriceAccount;
        return this;
    }


    public static class TransForSite {
        private String transforSiteName;
        private String transforSitePosition;
        private String transforLineName;


        @Override
        public String toString() {
            return "TransForSite{" +
                    "transforSiteName='" + transforSiteName + '\'' +
                    ", transforSitePosition='" + transforSitePosition + '\'' +
                    ", transforLineName='" + transforLineName + '\'' +
                    '}';
        }

        public TransForSite(String transforSiteName, String transforSitePosition, String transforLineName) {
            this.transforSiteName = transforSiteName;
            this.transforSitePosition = transforSitePosition;
            this.transforLineName = transforLineName;
        }

        public String getTransforSiteName() {
            return transforSiteName;
        }

        public TransForSite setTransforSiteName(String transforSiteName) {
            this.transforSiteName = transforSiteName;
            return this;
        }

        public String getTransforSitePosition() {
            return transforSitePosition;
        }

        public TransForSite setTransforSitePosition(String transforSitePosition) {
            this.transforSitePosition = transforSitePosition;
            return this;
        }

        public String getTransforLineName() {
            return transforLineName;
        }

        public TransForSite setTransforLineName(String transforLineName) {
            this.transforLineName = transforLineName;
            return this;
        }
    }
}
